<html>
<head>
</head>
<body>
<a href="<?php echo url('user/logout');?>">Restart New Session</a><br/>
Jackpot: $<?php echo isset($jackpot)?$jackpot:0;?>
<hr/>
You have played <?php echo isset($play)?$play:0;?> Spins<br/>
Free Spin: <?php echo isset($spin)?$spin:0;?>; Won $<?php echo isset($won)?$won:0;?><br/>
Signed <?php echo isset($offer)?$offer:0;?> Offers; Total: $<?php echo isset($total)?$total:0;?>
<hr/>
<?php if (isset($message)) {
	echo $message;}
?>
<hr/>
<?php 
if ($status == 1)
{
	echo 'You got a free <a href="'.url('game/spin').'">Spin</a>';
}
else if ($status == 2)
{
	echo '<a href="'.url('user/register').'">Create an account</a>';
}
else if ($status == 3)
{
	if ($spin > 0)
		echo '<a href="'.url('game/spin').'">Spin</a>';
	else
		echo 'You need to sign up offers to play more';
?>
<hr/>
<a href="<?php echo url('offer/sign', array('o'=>'30'));?>">Sign $30 offer for 17 free spin</a><br/>
<a href="<?php echo url('offer/sign', array('o'=>'20'));?>">Sign $20 offer for 11 free spin</a><br/>
<a href="<?php echo url('offer/sign', array('o'=>'10'));?>">Sign $10 offer for 6 free spin</a><br/>
<a href="<?php echo url('offer/sign', array('o'=>'5'));?>">Sign $5 offer for 3 free spin</a><br/>
<?php
}
?>
</body>
</html>